home *** CD-ROM | disk | FTP | other *** search
/ MacHack 2001 / MacHack 2001.toast / pc / The Hacks / F1Hack / F1Hack Source / CF1HackApp.h < prev    next >
Encoding:
Text File  |  2001-06-23  |  1008 b   |  41 lines

  1. // ===========================================================================
  2. //    CF1HackApp.h           ©1996-1998 Metrowerks Inc. All rights reserved.
  3. // ===========================================================================
  4.  
  5. #ifndef _H_CF1HackApp
  6. #define _H_CF1HackApp
  7. #pragma once
  8.  
  9. #include <LApplication.h>
  10. #include <UThread.h>
  11.  
  12. class    CF1HackApp : public LApplication {
  13. public:
  14.                             CF1HackApp();
  15.                             ~CF1HackApp();
  16.  
  17.     virtual Boolean            ObeyCommand(
  18.                                     CommandT            inCommand,
  19.                                     void                *ioParam);
  20.     virtual void            FindCommandStatus(
  21.                                     CommandT            inCommand,
  22.                                     Boolean                &outEnabled,
  23.                                     Boolean                &outUsesMark,
  24.                                     UInt16                &outMark,
  25.                                     Str255                outName);
  26.     virtual void            StartUp();
  27.  
  28.     virtual void            HandleAppleEvent(
  29.                                                 const AppleEvent&    inAppleEvent,
  30.                                                 AppleEvent&            outAEReply,
  31.                                                 AEDesc&                outResult,
  32.                                                 long                inAENumber);
  33.     
  34.     virtual void        ProcessNextEvent();
  35.  
  36. protected:
  37.     unsigned long        fLaunchTime;
  38. };
  39.  
  40. #endif
  41.